
<h1>Contactez nous</h1>

<?php $attributes = array('class' => 'contact', 'id' => 'contact');
echo form_open('Assistance/Contact', $attributes); ?>
<?= form_label('Service : ');
$options = array('webmaster@work.com' => 'Webmaster', 'sav@work.com' => 'Service client', 
    'comptabilite@work.com' => 'Service comptabilité', 'communication@work.com'=> 'Service communication', 
    'dj_arnouch@hotmail.fr'=> 'Arnaud');
echo form_dropdown('service', $options);
echo form_error('service','<div class="errorText">','</div>');?>
<br>
<div class="sujet">
<?= form_label('Sujet : ');
echo form_input('sujet',set_value('sujet'),'placeholder="Exemple : Demande d\'informations"  class="inputText"');
echo form_error('sujet','<div class="errorText">','</div>');?>
</div>
<div class="message">
<?= form_label('Message : ');
echo form_textarea('message',set_value('message'));
echo form_error('message','<div class="errorText">','</div>');?>
</div>
<div class="envoyer">
<?=form_submit($attributes, 'Envoyer');?>
</div>
<?=form_close(); ?>
